package com.wxzz.elearing.comment.dto;

import com.wxzz.elearning.common.bean.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(value = "UserWallet对象", description = "用户钱包")
public class UserWalletDto extends BaseEntity {

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "0-管理端 1-用户端 2-讲师端")
    private Integer userType;

    @ApiModelProperty(value = "用户余额")
    private BigDecimal userBalance = new BigDecimal("0.00");

    @ApiModelProperty(value = "累计资产")
    private BigDecimal accumulate = new BigDecimal("0.00");

}